package com.cdp.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.cdp.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 记录石头颗粒尺寸信息实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_stone_size") // 对应数据库表名
public class SysStoneSize extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    @TableId(value = "stone_size_id", type = IdType.AUTO)
    private Integer stoneSizeId;

    /** 名称 */
    private String name;

    /** 唯一标识 */
    private String id;

    /** 版本号 */
    private Integer version;

    /** 软删除时间 */
    private Date deleteTime;
}
